Q3ReceiveShadowsStyle_New
You can use theQ3ReceiveShadowsStyle_New
function to create a new shadow-receiving style object.
TQ3StyleObject Q3ReceiveShadowsStyle_New (TQ3Boolean receives);
receives
- A Boolean value that determines whether the new style object specifies that objects in the scene receive shadows (
kQ3True
) or do not receive shadows (kQ3False
).DESCRIPTION
TheQ3ReceiveShadowsStyle_New
function returns, as its function result, a new style object having the shadow-receiving style specified by thereceives
parameter.If a new style object could not be created,
Q3ReceiveShadowsStyle_New
returns the valueNULL
.To change the current shadow-receiving style, you must actually draw the style object. You can call
Q3Style_Submit
to draw the style in retained mode orQ3ReceiveShadowsStyle_Submit
(described next) to draw the style in immediate mode.SEE ALSO
See "Shadow-Receiving Styles" on page 6-9 for a description of shadow-receiving styles.